<?php
namespace App\Logics;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Models\AttrSpecModel;

//逻辑处理
class AttrSpecLogic extends BaseLogic {


    public function __construct()
    {
        parent::__construct();

    }

    public static function getListByGoodsId(int $goods_id){
        return AttrSpecModel::where('goods_id',$goods_id)->get()->toArray();
    }







}
